
var str=["中国象棋",
"青蛙捉虫",
"超级玛丽",
"捕鱼达人",
"飞机大战",
"维京游戏"
];
var url=["games/Chinesechess/index.html",
"games/frong/index.html",
"games/supermario/index.html",
"games/fish/index.html",
"games/PlaneWar/index.html",
"games/wjgame/index.html"

];


$("#homePage").load("html/home01.html");

window.onload=function (){
var html = '';
var html2='';
html+='<div class="newBox">';
html2='<option value="">请选择</option>'
for(var i=0;i<str.length;i++){
    html+='<span class="showgo"><a href='+url[i]+' target="_blank">'+str[i]+'</a></span>&nbsp;&nbsp;';

    html2+='<option value='+ url[i]+'>'+str[i]+'</option>';
}
html+='</div>'
// alert(html);
$('.blList').html(html);
// $('.slist').html(html2);
}

$('.sst').click(function () {
$.ajaxSetup(
  $(this).css({"color":"yellow","background-color":"red"}),
  // $('.blList').css("display","none"),
   $(this).addClass("idd")
);
})

